home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / source / tifreadr.sit / Tiff Window DEMO / globals.c < prev    next >
C/C++ Source or Header  |  1990-04-10  |  1KB  |  23 lines

  1. #include "my color.h"
  2.  
  3. /* global variables, most of these are artifacts from the orginal "showoff" code */
  4.  
  5. MenuHandle    myMenus[menuCount];    /*handles to the menus*/
  6. Rect        dragRect;             /*rectangle used to mark boundaries for dragging window*/
  7. Rect        screenRect;            /*to hold screenbits.bounds */
  8. Rect        txRect;                /*rectangle for text in application window*/
  9. Boolean        extendedCH;            /*true if user is Shift-clicking*/
  10. Boolean        doneFlag;            /*true if user has chosen Quit Item*/
  11. EventRecord    myEvent;            /*information about an event*/
  12. CWindowRecord    wRecord;        /*information about the application window*/
  13. CWindowPtr    myWindow;            /*pointer to wRecord*/
  14. CWindowPeek    myWinPeek;            /*another pointer to wRecord*/
  15. CWindowPtr    whichWindow;        /*window in which mouse button was pressed*/
  16. Rect        nextWRect ;            /*portRect for next window to be opended*/
  17. long        nextWNum;            /*number of next window (for title)*/
  18. CGrafPtr    savedPort;            /*pointer to preserve GrafPort*/
  19. Boolean        menusOK;            /*for disabling menu items*/
  20. long        scrapErr;
  21. short        scrCopyErr;
  22.  
  23.